﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Object_Basic : Generator_Basic
{
    public GameObject FatherObject;
    protected override void SetTag()
    {
        theTag = FatherObject.tag;
    }
    protected override void Remove(GameObject obj)
    {
        GameObject.Find("ObjectPool").GetComponent<PoolManager>().RealPools[theTag].RemoveObject(obj);
    }
}
